package com.sanmina.route.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

public class WiMap implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8160383329001067619L;
	private Integer mapKey;


	private Integer wiTypeKey;
	
	private String name = "";
	
	private String contentType = "";
	
	private String creator = "";

	private Date createDate;

	private String partFamily = "";

	private Integer partKey =0;
	
	private String partNumber="";
	
	private String processName="";

	private Integer locationKey=0;

	private Integer startPage=1;

	private Integer endPage=0;

	private String active = "";

	private String plantCode = "";

	private String docNumber = "";

	private String agilePartNumber = "";

	private String revision = "";

	private String directFromAgile = "0";

	private String attaFileName = "";

	private byte[] attaFileContent="".getBytes();

	private String effectiveFrom = "";

	private String effectiveTo = "";

	private String assignTo = "";

	private String assignValue = "";

	private Integer implementedQty=0;

	private String implementedValue = "";

	private String agileUpdateStatus = "0";

	private String customer = "";

	private String url = "";

	private String title = "";

	public Integer getMapKey() {
		return mapKey;
	}

	public void setMapKey(Integer mapKey) {
		this.mapKey = mapKey;
	}

	public Integer getWiTypeKey() {
		return wiTypeKey;
	}

	public void setWiTypeKey(Integer wiTypeKey) {
		this.wiTypeKey = wiTypeKey;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getPartFamily() {
		return partFamily;
	}

	public void setPartFamily(String partFamily) {
		this.partFamily = partFamily;
	}

	public Integer getPartKey() {
		return partKey;
	}

	public void setPartKey(Integer partKey) {
		this.partKey = partKey;
	}

	public String getPartNumber() {
		return partNumber;
	}

	public void setPartNumber(String partNumber) {
		this.partNumber = partNumber;
	}

	public String getProcessName() {
		return processName;
	}

	public void setProcessName(String processName) {
		this.processName = processName;
	}

	public Integer getLocationKey() {
		return locationKey;
	}

	public void setLocationKey(Integer locationKey) {
		this.locationKey = locationKey;
	}

	public Integer getStartPage() {
		return startPage;
	}

	public void setStartPage(Integer startPage) {
		this.startPage = startPage;
	}

	public Integer getEndPage() {
		return endPage;
	}

	public void setEndPage(Integer endPage) {
		this.endPage = endPage;
	}

	public String getActive() {
		return active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public String getPlantCode() {
		return plantCode;
	}

	public void setPlantCode(String plantCode) {
		this.plantCode = plantCode;
	}

	public String getDocNumber() {
		return docNumber;
	}

	public void setDocNumber(String docNumber) {
		this.docNumber = docNumber;
	}

	public String getAgilePartNumber() {
		return agilePartNumber;
	}

	public void setAgilePartNumber(String agilePartNumber) {
		this.agilePartNumber = agilePartNumber;
	}

	public String getRevision() {
		return revision;
	}

	public void setRevision(String revision) {
		this.revision = revision;
	}

	public String getDirectFromAgile() {
		return directFromAgile;
	}

	public void setDirectFromAgile(String directFromAgile) {
		this.directFromAgile = directFromAgile;
	}

	public String getAttaFileName() {
		return attaFileName;
	}

	public void setAttaFileName(String attaFileName) {
		this.attaFileName = attaFileName;
	}

	public byte[] getAttaFileContent() {
		return attaFileContent;
	}

	public void setAttaFileContent(byte[] attaFileContent) {
		this.attaFileContent = attaFileContent;
	}

	public String getEffectiveFrom() {
		return effectiveFrom;
	}

	public void setEffectiveFrom(String effectiveFrom) {
		this.effectiveFrom = effectiveFrom;
	}

	public String getEffectiveTo() {
		return effectiveTo;
	}

	public void setEffectiveTo(String effectiveTo) {
		this.effectiveTo = effectiveTo;
	}

	public String getAssignTo() {
		return assignTo;
	}

	public void setAssignTo(String assignTo) {
		this.assignTo = assignTo;
	}

	public String getAssignValue() {
		return assignValue;
	}

	public void setAssignValue(String assignValue) {
		this.assignValue = assignValue;
	}

	public Integer getImplementedQty() {
		return implementedQty;
	}

	public void setImplementedQty(Integer implementedQty) {
		this.implementedQty = implementedQty;
	}

	public String getImplementedValue() {
		return implementedValue;
	}

	public void setImplementedValue(String implementedValue) {
		this.implementedValue = implementedValue;
	}

	public String getAgileUpdateStatus() {
		return agileUpdateStatus;
	}

	public void setAgileUpdateStatus(String agileUpdateStatus) {
		this.agileUpdateStatus = agileUpdateStatus;
	}

	public String getCustomer() {
		return customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "WiMap [mapKey=" + mapKey + ", wiTypeKey=" + wiTypeKey + ", name=" + name + ", contentType="
				+ contentType + ", creator=" + creator + ", createDate=" + createDate + ", partFamily=" + partFamily
				+ ", partKey=" + partKey + ", partNumber=" + partNumber + ", processName=" + processName
				+ ", locationKey=" + locationKey + ", startPage=" + startPage + ", endPage=" + endPage + ", active="
				+ active + ", plantCode=" + plantCode + ", docNumber=" + docNumber + ", agilePartNumber="
				+ agilePartNumber + ", revision=" + revision + ", directFromAgile=" + directFromAgile
				+ ", attaFileName=" + attaFileName + ", attaFileContent=" + Arrays.toString(attaFileContent)
				+ ", effectiveFrom=" + effectiveFrom + ", effectiveTo=" + effectiveTo + ", assignTo=" + assignTo
				+ ", assignValue=" + assignValue + ", implementedQty=" + implementedQty + ", implementedValue="
				+ implementedValue + ", agileUpdateStatus=" + agileUpdateStatus + ", customer=" + customer + ", url="
				+ url + ", title=" + title + "]";
	}
	
	
}
